# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 167 Forge (protoss\forge.grp)
.headerstart
IsId          	171
Type          	27
Init          	ForgeInit
Death         	ForgeDeath
GndAttkInit   	[NONE]
AirAttkInit   	[NONE]
Unused1       	[NONE]
GndAttkRpt    	[NONE]
AirAttkRpt    	[NONE]
CastSpell     	[NONE]
GndAttkToIdle 	[NONE]
AirAttkToIdle 	[NONE]
Unused2       	[NONE]
Walking       	[NONE]
WalkingToIdle 	ForgeWalkingToIdle
SpecialState1 	[NONE]
SpecialState2 	[NONE]
AlmostBuilt   	[NONE]
Built         	ForgeWalkingToIdle
Landing       	[NONE]
LiftOff       	[NONE]
IsWorking     	ForgeIsWorking
WorkingToIdle 	ForgeWorkingToIdle
WarpIn        	ForgeWarpIn
Unused3       	[NONE]
StarEditInit  	[NONE]
Disable       	ForgeWalkingToIdle
Burrow        	[NONE]
UnBurrow      	[NONE]
Enable        	ForgeWalkingToIdle
.headerend
# ----------------------------------------------------------------------------- #

ForgeInit:
	imgul             	170 0 0	# Forge Shadow (protoss\pfoShad.grp)
	playfram          	0x00	# Frame set 0
	goto              	ForgeWalkingToIdle

ForgeWalkingToIdle:
	wait              	125 
	goto              	ForgeWalkingToIdle

ForgeDeath:
	playsnd           	7	# Misc\ExploLrg.wav
	imgol             	215 0 0	# Explosion (Large) (thingy\tBangX.grp)
	wait              	3 
	lowsprul          	223 0 0	# Protoss Building Rubble (Small) (thingy\PRubbleS.grp)
	wait              	1 
	end

ForgeIsWorking:
	playfram          	0x00	# Frame set 0
	wait              	3 
	playfram          	1	# Frame set 0, direction 1
	wait              	3 
	playfram          	2	# Frame set 0, direction 2
	wait              	3 
	playfram          	3	# Frame set 0, direction 3
	wait              	3 
	goto              	ForgeIsWorking

ForgeWorkingToIdle:
	playfram          	0x00	# Frame set 0
	goto              	ForgeWalkingToIdle

ForgeWarpIn:
	imgol             	169 0 0	# Forge Warp Flash (protoss\forge.grp)
	goto              	ForgeWalkingToIdle

# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 174 Cybernetics Core (protoss\gencore.grp)
.headerstart
IsId          	174
Type          	27
Init          	CyberneticsCoreInit
Death         	CyberneticsCoreDeath
GndAttkInit   	[NONE]
AirAttkInit   	[NONE]
Unused1       	[NONE]
GndAttkRpt    	[NONE]
AirAttkRpt    	[NONE]
CastSpell     	[NONE]
GndAttkToIdle 	[NONE]
AirAttkToIdle 	[NONE]
Unused2       	[NONE]
Walking       	[NONE]
WalkingToIdle 	CyberneticsCoreWalkingToIdle
SpecialState1 	[NONE]
SpecialState2 	[NONE]
AlmostBuilt   	[NONE]
Built         	CyberneticsCoreWalkingToIdle
Landing       	[NONE]
LiftOff       	[NONE]
IsWorking     	CyberneticsCoreIsWorking
WorkingToIdle 	CyberneticsCoreWorkingToIdle
WarpIn        	CyberneticsCoreWarpIn
Unused3       	[NONE]
StarEditInit  	[NONE]
Disable       	CyberneticsCoreWalkingToIdle
Burrow        	[NONE]
UnBurrow      	[NONE]
Enable        	CyberneticsCoreWalkingToIdle
.headerend
# ----------------------------------------------------------------------------- #

CyberneticsCoreInit:
	imgul             	177 0 0	# Cybernetics Core Shadow (protoss\pgcShad.grp)
	playfram          	0x00	# Frame set 0
	goto              	CyberneticsCoreWalkingToIdle

CyberneticsCoreWalkingToIdle:
	wait              	125 
	goto              	CyberneticsCoreWalkingToIdle

CyberneticsCoreDeath:
	playsnd           	7	# Misc\ExploLrg.wav
	imgol             	215 0 0	# Explosion (Large) (thingy\tBangX.grp)
	wait              	3 
	lowsprul          	223 0 0	# Protoss Building Rubble (Small) (thingy\PRubbleS.grp)
	wait              	1 
	end

CyberneticsCoreIsWorking:
	playfram          	0x00	# Frame set 0
	wait              	1 
	playfram          	1	# Frame set 0, direction 1
	wait              	1 
	playfram          	2	# Frame set 0, direction 2
	wait              	1 
	goto              	CyberneticsCoreIsWorking

CyberneticsCoreWorkingToIdle:
	playfram          	0x00	# Frame set 0
	goto              	CyberneticsCoreWalkingToIdle

CyberneticsCoreWarpIn:
	imgol             	175 0 0	# Cybernetics Core Warp Flash (protoss\gencore.grp)
	goto              	CyberneticsCoreWorkingToIdle